package com.xidian.zhiancloud.service.user;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xidian.zhiancloud.dao.syset.CoorDinateDetailMapper;
import com.xidian.zhiancloud.model.syset.CoorDinateDetailList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CoorDinateDetailService extends
        ServiceImpl<CoorDinateDetailMapper, CoorDinateDetailList> {

    @Autowired
    CoorDinateDetailMapper coorDinateDetailMapper;

    public List<CoorDinateDetailList> getCoorDinateDetailList(Integer positionid){
        return coorDinateDetailMapper.getCoorDinateDetailList(positionid);
    }

    public void addCoorDinateDetail(
            Integer positionid,String name,
            String coordinatemsg,String uploadpath,Integer status){
            coorDinateDetailMapper.addCoorDinateDetail(
                    positionid, name, coordinatemsg,uploadpath,status);
    }



}
